package com.huitone.smspfm.dao.oracle;

import java.util.List;

import org.springframework.jdbc.core.BeanPropertyRowMapper;

import com.huitone.smspfm.dao.oracle.entity.GateSwitch;
import com.huitone.smspfm.dao.oracle.entity.PlatformSmsTemplate;


public class PlatformSmsTemplateDao extends BaseDao<PlatformSmsTemplate> {

	@Override
	public List<PlatformSmsTemplate> getAllObj() {
		return jdbcTemplate.query("SELECT * FROM " + tableName + " WHERE STATUS = '1'", new BeanPropertyRowMapper<PlatformSmsTemplate>(PlatformSmsTemplate.class));
	}
	

}
